/*******************************************************************************
 * Copyright (c) 2008 Nels E. Beckman.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Nels E. Beckman - initial API and implementation
 *******************************************************************************/
package edu.cmu.cs.nbeckman.wptransltor.util;

/**
 * A box-able item.
 * 
 * @author Nels E. Beckman
 */
public class Box<T> {

	private T item;
	
	public Box(T item) {
		this.item = item;
	}
	
	public T getItem() {
		return item;
	}
	
	public void setItem(T item) {
		this.item = item;
	}
	
	public static <S> Box<S> box(S item) {
		return new Box<S>(item);
	}
}
